package cn.com.mrzheng.web.entity;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.List;

public class Role extends BaseEntity{

  private String name;
  @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
  private java.sql.Date createTime;
  private String description;
  private List<Auth> authList;

  public List<Auth> getAuthList() {
    return authList;
  }

  public void setAuthList(List<Auth> authList) {
    this.authList = authList;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public java.sql.Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.sql.Date createTime) {
    this.createTime = createTime;
  }


  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  @Override
  public String toString() {
    return "Role{" +
            ", name='" + name + '\'' +
            ", createTime=" + createTime +
            ", description='" + description + '\'' +
            '}';
  }
}
